package Vista;
import javax.swing.BorderFactory;
import javax.swing.JButton;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;

import Controlador.ControladorReporteIngrediente;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJDialogIngredientesAlmecenados extends javax.swing.JDialog {
	private JPanel jPanelIngredientesAlmacenados;
	private JScrollPane jSpIngredientesAlmacenados;
	private JTable jTableIngredientes;
	private JButton jBtoSalir;
	private JLabel jLblListadoIngredientes;

	/**
	* Auto-generated main method to display this JDialog
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				JFrame frm = new JFrame();
				NewJDialogIngredientesAlmecenados inst = new NewJDialogIngredientesAlmecenados(frm, null);
				inst.setVisible(true);
			}
		});
	}
	
	public NewJDialogIngredientesAlmecenados(JFrame frm,
			ControladorReporteIngrediente controladorReporteIngrediente) {
		super(frm);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				getContentPane().setLayout(null);
				this.setTitle("Ingredientes Almacenados");
				{
					jPanelIngredientesAlmacenados = new JPanel();
					getContentPane().add(jPanelIngredientesAlmacenados);
					jPanelIngredientesAlmacenados.setBounds(21, 19, 583, 376);
					jPanelIngredientesAlmacenados.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
					jPanelIngredientesAlmacenados.setLayout(null);
					jPanelIngredientesAlmacenados.setBackground(new java.awt.Color(237,206,69));
					{
						jSpIngredientesAlmacenados = new JScrollPane();
						jPanelIngredientesAlmacenados.add(jSpIngredientesAlmacenados);
						jSpIngredientesAlmacenados.setBounds(32, 41, 523, 197);
						{
							TableModel jTableIngredientesModel = 
								new DefaultTableModel(
										new String[][] { { "One", "Two" }, { "Three", "Four" } },
										new String[] { "Column 1", "Column 2" });
							jTableIngredientes = new JTable();
							jSpIngredientesAlmacenados.setViewportView(jTableIngredientes);
							jTableIngredientes.setModel(jTableIngredientesModel);
							jTableIngredientes.setFont(new java.awt.Font("Comic Sans MS",3,14));
						}
					}
					{
						jLblListadoIngredientes = new JLabel();
						jPanelIngredientesAlmacenados.add(jLblListadoIngredientes);
						jLblListadoIngredientes.setText("Listado de Ingredientes");
						jLblListadoIngredientes.setBounds(32, 8, 255, 21);
						jLblListadoIngredientes.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
					{
						jBtoSalir = new JButton();
						jPanelIngredientesAlmacenados.add(jBtoSalir);
						jBtoSalir.setText("Salir");
						jBtoSalir.setBounds(424, 316, 118, 22);
						jBtoSalir.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
				}
			}
			this.setSize(636, 449);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public Object Ingrediente() {
		// TODO Auto-generated method stub
		return null;
	}

	public JPanel getjPanelIngredientesAlmacenados() {
		return jPanelIngredientesAlmacenados;
	}

	public JScrollPane getjSpIngredientesAlmacenados() {
		return jSpIngredientesAlmacenados;
	}

	public JTable getjTableIngredientes() {
		return jTableIngredientes;
	}

	public JButton getjBtoSalir() {
		return jBtoSalir;
	}

	public JLabel getjLblListadoIngredientes() {
		return jLblListadoIngredientes;
	}

}
